Prizm Content Connect
Prizm Mobile Viewer Parameters

The Prizm Mobile Viewer offers viewing and zoom features on a mobile device. The viewer is a jQuery Plugin that is comprised of JavaScript, HTML and CSS. 

The following example shows how to configure the parameters:

CS.NET Example
Copy Code
<script type="text/javascript">
    var viewingSessionId = '<%=HttpUtility.JavaScriptStringEncode(viewingSessionId)%>';
    $(document).ready(function () {
        var pluginOptions1 = {
            documentID: viewingSessionId,
            annotationID: “Annotation Filename”,
            imageHandlerUrl: "../pcc.ashx",
            pageLayout: “vertical”,
            viewMode: “equalWidthPages”
        };
        $("#imageGearPageView").pccMobileViewer(pluginOptions1);
    });
</script>


Parameters

Parameter Data Type Description
pageLayout String

Specifies the orientation of the viewer. The options are:

  • vertical (default) - sets the viewer to scroll vertically.
  • horizontal - sets the viewer to scroll horizontally.
viewMode String

Specifies how documents fit in the viewer. The options are:

  • equalWidthPages (default) - scales each page to the same width. 
  • document - sets all pages of a document to be displayed proportionally in size.

See Also

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback